import Vue from 'vue'
import App from './App'

import uView from '@/uni_modules/uview-ui'
import store from './store'
Vue.use(uView);

import  request from '@/common/api.js'
import * as tools from '@/common/public.js'

Object.assign(Vue.prototype, {
	'$tools': tools,
	'$goPath': tools.goPath, // 页面跳转
	'$toast': tools.toast, //轻消息
	'$request': request,
})
import Tabbar from '@/components/tabbar/index.vue'
Vue.component('Tabbar', Tabbar) //挂载
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	store,
	...App
})
app.$mount()